package com.peng.ivos.vehicle.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 车辆维修记录表
 * @description: 车辆维修记录
 * @author： Peng
 * @date： 2024/6/9
 * @version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class VehicleRepair {
    @ApiModelProperty("维修单id")
    private String id;
    @ApiModelProperty("维修材料")
    private String material;
    @ApiModelProperty("维修时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date repairTime;
    @ApiModelProperty("维修项目")
    private String item;
    @ApiModelProperty("维修费用")
    private BigDecimal fee;
    @ApiModelProperty("维修地址")
    private String addr;
    @ApiModelProperty("维修车辆id")
    private Long vehicleId;
    @ApiModelProperty("送修人id")
    private Long userId;
    @ApiModelProperty("送修人姓名")
    private String username;
    @ApiModelProperty("维修状态")
    private String repairStatus;
}
